Experiment Overview

Gyroscopes are at the heart of inertial navigation systems, spacecraft attitude control, and platform stabilization for cameras, antennas, and weapons systems. A spinning gyroscope resists angular displacement through gyroscopic precession — but without active feedback control, external disturbances cause the deflection angle to wander unpredictably. This lab modeled the open-loop gyroscope dynamics, designed a PI controller to regulate deflection angle, and experimentally demonstrated the dramatic difference between controlled and uncontrolled system behavior when the base is disturbed.

Open-loop a response with 63.2% cursor annotation – t=0.87 s identified experimentally
Figure 1: Open-loop α response — 63.2% crossing at τ=0.87 s
Open-loop a (alpha) – transfer function model vs. system output, showing model–hardware discrepancy
Figure 2: Open-loop α — transfer function model vs. hardware output
Open-loop theta – servo angle continuously increasing under constant voltage input
Figure 3: Open-loop θ — servo angle continuously increasing under constant voltage

Equipment & Tools

Approach & Controller Design

The open-loop gyroscope plant is a first-order system: α(s)/Vm(s) = (K/Gg) / (τs + 1), where K = 1.53 rad/s/V, τ = 0.9 s, and Gg = 5.20 1/(rad·s). Closing the loop with a PI controller Vm(s) = (kp + ki/s) · e(s) produced a second-order closed-loop transfer function. Matching its denominator coefficients to the standard form gave the PI gain expressions, solved with ζ = 1.05 and ωn = 3.61 rad/s:

kp = Gg(2ζωnτ − 1) / K = 19.79

ki = Ggτωn² / K = 39.86

The experimental time constant was identified from the open-loop response: τexp = 0.87 s at the 63.2% crossing, compared to the theoretical 0.9 s — close agreement despite the gyroscope’s more complex dynamics.

Open-loop voltage input – constant 0.5 V applied to identify gyroscope time constant
Figure 4: Open-loop voltage input — constant 0.5 V for time constant identification
Closed-loop a – PI controller tracking 2° reference, ess=0.003°
Figure 5: Closed-loop α — PI controller tracking 2° reference, ess=0.003°
Closed-loop theta – servo angle ramping to generate gyroscopic torque
Figure 6: Closed-loop θ — servo angle ramping to generate gyroscopic torque
Closed-loop voltage — sinusoidal PI control effort reflecting gyroscopic coupling
Figure 7: Closed-loop voltage — sinusoidal PI control effort

Key Results

Closed-loop a with data cursor – steady-state value 1.997°, ess=0.003°
Figure 8: Closed-loop α — steady-state 1.997°, ess=0.003°
Closed-loop with disturbance – a response: PI control holds heading near 0° during base rotation
Figure 9: Closed-loop disturbance — PI holds α near 0° during base rotation
Closed-loop with disturbance – theta transient during base disturbance, servo actively counteracting
Figure 10: Closed-loop disturbance — θ transient, servo actively counteracting
Closed-loop with disturbance – voltage control effort responding dynamically to reject disturbance
Figure 11: Closed-loop disturbance — voltage control effort rejecting disturbance
Open-loop with disturbance – a deflection spike to ±7.4° with no active control
Figure 12: Open-loop disturbance — α spike to ±7.4° with no active control
Open-loop with disturbance – theta oscillates and settles at new position without feedback correction
Figure 13: Open-loop disturbance — θ oscillates without feedback correction
Open-loop with disturbance – voltage remains constant at 0 V, no corrective action
Figure 14: Open-loop disturbance — voltage at 0 V, no corrective action
Open-loop disturbance – a annotated with peak 7.36° and trough -7.18°, 20 s passive damping
Figure 15: Open-loop disturbance — α peak 7.36°, trough −7.18°, 20 s passive damping

Valuable Takeaways

← Back to Dynamics & Control Labs